<?php
include 'head.php';
include 'conn.php';
?>

<table width=500 border="0" cellpadding="5" cellspacing="1" bgcolor="#add3ef">
<?php
$SQL = "select * from message";
$query = mysql_query($SQL);
while (($row = mysql_fetch_array($query))!==false)
{
?>

<?php echo $row[title];?><br>
<?php echo $row[user];?><br>
<?php echo $row[content];?><br>
<?php echo $row[lastdate];?><br>
<hr align="left" color="#987cb9" size="1" width="300">

<?php
}
?>
